import { createStore, applyMiddleware } from 'redux';
import {composeWithDevTools} from 'redux-devtools-extension';
//需要纯函数
import reducer from './reducers/index';

import thunk from 'redux-thunk';

import logger from 'redux-logger';



export default createStore(reducer,composeWithDevTools(applyMiddleware(thunk,logger)))
